From b55a730a7755220713d374068b37e5a1f6794333 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 25 Apr 2005 09:04:02 +0000 Subject: [PATCH] bitkeeper revision 1.1380 (426cb282h_zj6PQYX7HuwLMZrI68ig) More gcc4 signed/unsigned char fixes. Signed-off-by: Keir Fraser --- xen/drivers/char/console.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index 1d6769fb72..5277d7b3a9 100644 --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -493,10 +493,10 @@ int irq_console_getc(void) /* Send output direct to console, or buffer it? */ int debugtrace_send_to_console; -static unsigned char *debugtrace_buf; /* Debug-trace buffer */ -static unsigned int debugtrace_prd; /* Producer index */ -static unsigned int debugtrace_kilobytes = 128, debugtrace_bytes; -static spinlock_t debugtrace_lock = SPIN_LOCK_UNLOCKED; +static char *debugtrace_buf; /* Debug-trace buffer */ +static unsigned int debugtrace_prd; /* Producer index */ +static unsigned int debugtrace_kilobytes = 128, debugtrace_bytes; +static spinlock_t debugtrace_lock = SPIN_LOCK_UNLOCKED; integer_param("debugtrace", debugtrace_kilobytes); void debugtrace_dump(void) @@ -535,9 +535,9 @@ void debugtrace_printk(const char *fmt, ...) { static char buf[1024]; - va_list args; - unsigned char *p; - unsigned long flags; + va_list args; + char *p; + unsigned long flags; if ( debugtrace_bytes == 0 ) return; @@ -582,7 +582,7 @@ static int __init debugtrace_init(void) return 0; order = get_order(bytes); - debugtrace_buf = (unsigned char *)alloc_xenheap_pages(order); + debugtrace_buf = (char *)alloc_xenheap_pages(order); ASSERT(debugtrace_buf != NULL); memset(debugtrace_buf, '\0', bytes); -- 2.30.2